package com.vcar.LDiceClient.dataproxy.chat
{
	import com.vcar.LDiceClient.config.ProxyNames;
	import com.vcar.LDiceClient.dataproxy.RequestMessage;
	import com.vcar.LDiceClient.dataproxy.SocketProxy;
	
	import org.puremvc.as3.patterns.proxy.Proxy;

	/**
	 * @author  龚勇星
	 * @msg		聊天室代理
	 */	
	public class chatProxy extends Proxy
	{
		public function chatProxy(data:Object=null)
		{
			super(ProxyNames.ChatProxy, data);
		}
		
		public function sendMsg(requestMsg:RequestMessage):void
		{
			(facade.retrieveProxy(ProxyNames.SocketProxy) as SocketProxy).send(requestMsg);
		}
	}
}